<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>
<html>
  <head>
  </head>
  
  <body>
  	
	<pg:param name="pageSize"></pg:param>
	<pg:param name="isPagerPara" value="1"></pg:param>  	
    <pg:first><a href="${pageUrl}">首页</a></pg:first> 
		<pg:prev><a href="${pageUrl}">前页</a></pg:prev> 
				      <pg:pages> 
				         <c:choose> 
				          <c:when test="${pageNumber eq currentPageNumber }"> 
				                <font color="red">${pageNumber }</font> 
				          </c:when> 
				          <c:otherwise> 
				                <a href="${pageUrl }">${pageNumber}</a> 
				          </c:otherwise> 
				          </c:choose> 
				      </pg:pages> 
				     <pg:next><a href="${pageUrl}">下页</a></pg:next> 
				     <pg:last><a href="${pageUrl}">尾页</a></pg:last> 
  </body>
</html>
